package com.virtium.vpm.dao;

import java.util.List;

import com.virtium.vpm.hibernate.model.MajorTask;

public interface MajorTaskDAO extends GenericDAO{
	public void save(MajorTask transientInstance);

	public void delete(MajorTask persistentInstance);

	public MajorTask findById(java.lang.Integer id);
	public void update(MajorTask majorTask);
	public List findByExample(MajorTask instance);
	public List findByProperty(String propertyName, Object value);
	public List findByProjectId(Object projectId);
	public List findByMajorTask(Object majorTask);
	public List findByUserId(Object userId);
	public List findByCost(Object cost);
	public List findByAchieved(Object achieved);
	public List findByKeyIssue(Object keyIssue);
	public List findByDecision(Object decision);
	public List findAll();

	public MajorTask merge(MajorTask detachedInstance);

	public void attachDirty(MajorTask instance);

	public void attachClean(MajorTask instance);
}
